package com.yixin.hospital.service;

import com.yixin.hospital.common.ApiResult;
import com.yixin.hospital.entity.domain.Card;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yixin.hospital.entity.dto.req.card.CardAddReqDTO;
import com.yixin.hospital.entity.dto.req.card.CardEditReqDTO;
import com.yixin.hospital.entity.vo.CardVo;

import java.util.List;

/**
* @author Administrator
* @description 针对表【card(卡表)】的数据库操作Service
* @createDate 2024-10-09 16:54:13
*/
public interface CardService extends IService<Card> {

    ApiResult<List<CardVo>> allList();

    ApiResult add(CardAddReqDTO cardAddReqDTO, String userName);

    ApiResult<?> edit(CardEditReqDTO cardEditReqDTO, String userName);
}
